package com.zhia.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhia.demo.entity.BrowseHistoryEntity;

/**
 * @author DONG
 * @create 2023/11/5 15:26
 */
public interface BrowseHistoryService extends IService<BrowseHistoryEntity> {
    Integer userBrowseChapter(String bookId, Integer userId);

    void saveHistory(String bookId, Integer userId, Integer chapter);
}
